<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../css/app.css">
    <link rel="stylesheet" type="text/css" href="../../../css/tabBar.css">
    <link rel="stylesheet" type="text/css" href="../comm/shop_comm.css">
    <link rel="stylesheet" type="text/css" href="./goods_manage.css">
    <link rel="stylesheet" type="text/css" href="./goods_search.css"/>
    <title>分类管理</title>
</head>

<body>
    <div class="header navigationBar">
      	<div class="wrapper">
          	<span id="btn-back" class="header-btn left-btn backtrack"></span>
          	<span class="title">分类管理</span>
      	</div>
  	</div>
  	<div class="container top-container">
  		<div class="aui-searchbar" id="search">
		    <div class="aui-searchbar-input aui-border-radius">
		        <i class="aui-iconfont aui-icon-search"></i>
            <form action="javascript:;" class="form_">
		            <input type="search" placeholder="请输入搜索内容" id="search-input" @search="doSearch">
		        </form>
		    </div>
		</div>
		<div class="goods_search_container">

      <div class="goods_search_list" v-for="item in classifyList">
        <div class="edit_box">
          <h2 v-html='item.name'></h2>
          <p>共<span v-html='item.goods_num'></span>件商品</p>
        	<div class="edit_group">
              <a href="javascript:;" @click="activeCat(item.category_id)"><img src="../../../image/shop/buy/buy-38.png" style="height: 24px;"></a>
              <a href="javascript:;" @click="editCat(item.category_id, item.name)"><img src="../../../image/shop/buy/buy-41.png" style="height: 21px;"></a>
          </div>
        </div>
      				<!-- <ul class="goods_search_ul">
      					<li class="goods_mge_info">
      						<div class="goods_list_img">
      							<img src="../../../image/shop/shop_goods.jpg">
      						</div>
      						<div class="goods_list_detail">
      							<h2>标题</h2>
      							<b>¥245.00</b>
      							<div>
      								<span>库存<i>0</i></span>
      								<span>收藏<i>2</i></span>
      								<u>添加时间：2018/12/10</u>
      							</div>
      						</div>
      					</li>
      				</ul> -->
			</div>


			<!-- <div class="goods_search_list">
				<h2>护肤</h2>
				<p>共1件商品</p>
				<ul class="goods_search_ul">
					<li class="goods_mge_info">
						<div class="goods_list_img">
							<img src="../../../image/shop/shop_goods.jpg"/>
						</div>
						<div class="goods_list_detail">
							<h2>标题</h2>
							<b>¥245.00</b>
							<div>
								<span>库存<i>0</i></span>
								<span>收藏<i>2</i></span>
								<u>添加时间：2018/12/10</u>
							</div>
						</div>
					</li>
				</ul>
			</div> -->
		</div>
	  	<div class="shop_footer">
        <a href="javascipr:void(0);" @click="newClassify">
	  			<img src="../../../image/shop/buy/buy-36.png"/>新建分类
	  		</a>
	  		<a href="javascript:void(0);" class="" @click="showEdit">
          <img src="../../../image/shop/buy/buy-34.png"/>编辑分类
        </a>
	  	</div>
      <div class="shop_footer_finish" @click="finishEdit">
        <a href="javascipr:void(0);">
	  			完成
	  		</a>
	  	</div>

</div>


  	</div>
</body>
<script src="../../sea.js" data-main="../../main"></script>
<script type="text/javascript" src="../../vue.js"></script>
<script type="text/javascript" src="./search.js"></script>
</html>
